<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	<h1>欢迎来到页面C</h1>
	<input type="button" name="" id="" value="去页面A" onclick="goA()" />
	<input type="button" name="" id="" value="页面刷新"onclick="shuaxin()" />
	</body>
	<script type="text/javascript">
		function goA(){
			location.href='indexA.html';
		}
		function shuaxin(){
			location.reload();
			alert('刷新成功！');
		}
	</script>
</html>
